<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Framework by Gaétan Collaud: Référence du fichier modules/translate/index.php</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="pages.html"><span>Pages&nbsp;associées</span></a></li>
      <li><a href="annotated.html"><span>Structures&nbsp;de&nbsp;données</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>Liste&nbsp;des&nbsp;fichiers</span></a></li>
      <li><a href="globals.html"><span>Portée&nbsp;globale</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Référence du fichier modules/translate/index.php</h1><table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Fonctions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">switch(@$_GET['page'])&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="modules_2translate_2index_8php.html#a94e6049b6241ccc8402eacab11d3e2da">isLogin</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Listes des pages.  <a href="#a94e6049b6241ccc8402eacab11d3e2da"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="modules_2translate_2index_8php.html#aea6849719257493c6b208e55889004fc">getListTpl</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Liste tous les fichiers template  Array $gLTPL liste des fichiers templates.  <a href="#aea6849719257493c6b208e55889004fc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="modules_2translate_2index_8php.html#aaf72332a8d14806578cc47ae8b384760">getListTplCallback</a> ($d)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Fonction callback de getListTpl  Array $gLTPL liste des fichiers templates.  <a href="#aaf72332a8d14806578cc47ae8b384760"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="modules_2translate_2index_8php.html#abcfde2a498753ff4879cc6a9e3803f30">getListXml</a> ($d)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Liste tous les fichiers de langue (fichier XML).  <a href="#abcfde2a498753ff4879cc6a9e3803f30"></a><br/></td></tr>
<tr><td colspan="2"><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="modules_2translate_2index_8php.html#a04b1944cdb09f9a4e290cde7a12499e6">$tpl</a> = new <a class="el" href="class_gagatemplate.html">Gagatemplate</a>('../../')</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="class_gagatranslate.html" title="Classe Gagatranslate.">Gagatranslate</a> + reprise des constantes.  <a href="#a04b1944cdb09f9a4e290cde7a12499e6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">$tpl&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="modules_2translate_2index_8php.html#adcf7e819b88d0c6905177c5d52c042fd">tplDir</a> = $ggTrsl_tplDir.'/'</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="modules_2translate_2index_8php.html#a6a0639ee5f0757e1964b1f0603b7c4bd">$nb</a> = 0</td></tr>
</table>
<hr/><h2>Documentation des fonctions</h2>
<a class="anchor" id="aea6849719257493c6b208e55889004fc"></a><!-- doxytag: member="index.php::getListTpl" ref="aea6849719257493c6b208e55889004fc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getListTpl </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Liste tous les fichiers template  Array $gLTPL liste des fichiers templates. </p>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>String la liste des fichiers templates </dd></dl>

</div>
</div>
<a class="anchor" id="aaf72332a8d14806578cc47ae8b384760"></a><!-- doxytag: member="index.php::getListTplCallback" ref="aaf72332a8d14806578cc47ae8b384760" args="($d)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getListTplCallback </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>d</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Fonction callback de getListTpl  Array $gLTPL liste des fichiers templates. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>$d le dossier à explorer </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="abcfde2a498753ff4879cc6a9e3803f30"></a><!-- doxytag: member="index.php::getListXml" ref="abcfde2a498753ff4879cc6a9e3803f30" args="($d)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getListXml </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>d</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Liste tous les fichiers de langue (fichier XML). </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>$d la langue (en principe n'importe laquelle vu que les fichiers sont les mêmes pour chaque langue). </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>Array la liste des fichiers XML </dd></dl>

</div>
</div>
<a class="anchor" id="a94e6049b6241ccc8402eacab11d3e2da"></a><!-- doxytag: member="index.php::isLogin" ref="a94e6049b6241ccc8402eacab11d3e2da" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">switch (@$_GET['page']) isLogin </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Listes des pages. </p>
<p>Fonction de vérification du droit d'acces. Redirige vers la page de connexion si non connecté. </p>

<p><p>Cette page liste tous les fichiers de langue avec les différents langages</p>
<p>Cette page n'affiche rien, elle se contente de générer tous les fichiers XML et de faire une redirection vers la page liste</p>
<p>Cette page permet d'éditer les traductions d'une page</p>
<p>Page par défaut, page de connexion</p>
</p>

</div>
</div>
<hr/><h2>Documentation des variables</h2>
<a class="anchor" id="a6a0639ee5f0757e1964b1f0603b7c4bd"></a><!-- doxytag: member="index.php::$nb" ref="a6a0639ee5f0757e1964b1f0603b7c4bd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$nb = 0</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a04b1944cdb09f9a4e290cde7a12499e6"></a><!-- doxytag: member="index.php::$tpl" ref="a04b1944cdb09f9a4e290cde7a12499e6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$tpl = new <a class="el" href="class_gagatemplate.html">Gagatemplate</a>('../../')</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="class_gagatranslate.html" title="Classe Gagatranslate.">Gagatranslate</a> + reprise des constantes. </p>

</div>
</div>
<a class="anchor" id="adcf7e819b88d0c6905177c5d52c042fd"></a><!-- doxytag: member="index.php::tplDir" ref="adcf7e819b88d0c6905177c5d52c042fd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$tpl <a class="el" href="modules_2translate_2index_8php.html#adcf7e819b88d0c6905177c5d52c042fd">tplDir</a> = $ggTrsl_tplDir.'/'</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Généré le Sun May 30 20:39:44 2010 pour Framework by Gaétan Collaud par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
